home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Text / Edit / MegaEd.lha / Beispiele / Hello2.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-21  |  263 b   |  17 lines

  1. // Beispiel für MaxonC
  2. #include <string.h>
  3. #include <clib/dos_protos.h>
  4.  
  5. BPTR open_con(void);
  6. void close_con(BPTR con);
  7.  
  8. main()
  9. {
  10.  BPTR con;
  11.  char *text="Hello world, how are you?";
  12.  
  13.  con=open_con();
  14.  Write(con,text,strlen(text));
  15.  Delay(100);
  16.  close_con(con);
  17. }